package cn.iocoder.yudao.module.cmt.controller.admin.service.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - ServiceRequest分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class ServiceRequestPageReqVO extends PageParam {

    @Schema(description = "社区ID", example = "1")
    private Long communityId;

    @Schema(description = "商户ID(服务提供商户)", example = "1")
    private Long merchantId;

    @Schema(description = "服务分类ID", example = "1")
    private Long categoryId;

    @Schema(description = "申请会员ID", example = "1")
    private Long userId;

    @Schema(description = "紧急程度：1普通 2紧急 3非常紧急", example = "1")
    private Integer urgencyLevel;

    @Schema(description = "状态：0待接单 1已派单 2服务中 3已完成 4已取消 5已评价", example = "1")
    private Integer requestStatus;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
